

//app.js
App({
	onLaunch: function() {
		// 展示本地存储能力
    
	},
	/* 退出小程序触发事件*/
	onHide(e) {
		console.log('小程序出来了');
		let onlounch = false;
		let wxpay=wx.getStorageSync('wxpay');
		if(!wxpay){
			wx.removeStorageSync('wxpay');
			wx.setStorageSync('onlounch', onlounch);
			wx.removeStorageSync('isShow');
			wx.removeStorageSync('deviceCode');
			console.log("小程序出来了清空缓存");
		};
		
	},
	/* onUnload: function() {
		console.log('小程序出来了');
		let onlounch = false;
		wx.setStorageSync('onlounch', onlounch);
		wx.removeStorageSync('isShow');
		wx.removeStorageSync('deviceCode');
	}, */
	globalData: {
		userInfo: null,
		/* baseimg:'http://192.168.2.89:8080/path/image/logo.jpg',
		baseurl:'http://192.168.43.69:8080',//* 线下邱 */
		/* baseimg:'http://192.168.2.61:8080/path/image/logo/logo.png',
		baseurl:'http://127.0.0.1:7777',//* 线下吴 */
		/* baseimg:'http://192.168.2.89:8080/path/image/logo/logo.png',
		baseurl:'http://192.168.2.89:8080',//* 线下 */
		baseimg: 'https://oyo8.oyospider.com/image/url/common',
		baseurl: 'https://oyo8.oyospider.com', //* 线上
    // baseurl: 'http://127.0.0.1:7777',//* 线下吴 */
		/* baseimg:'http://120.78.139.135:8088/path/image/logo/logo.png', 
	    baseurl: 'http://120.78.139.135:8088', //* 线上 */
		/* baseimgurl: 'http://www.510513.site' */


	}

})

